package com.jiyun.mapper;

import com.jiyun.pojo.entity.User;
import org.apache.ibatis.annotations.Update;
import tk.mybatis.mapper.common.Mapper;

public interface UserMapper extends Mapper<User> {

    @Update("update user set status=false where userid=#{userid}")
    void jinzhi(Integer userid);
    @Update("update user set status=true where userid=#{userid}")
    void jiejin(Integer userid);
}
